Now on: joopl.Exception
Represents the base class for any exception
Constructor
joopl.Exception
(
-
message
-
innerException
Parameters:
-
message
StringA human-readable reason text for the whole exception
-
innerException
ExceptionAn inner exception that is more specific to occured error
Example:
throw new $global.joopl.Exception({ message: "Some", innerException: otherException });
Properties
Methods
toString
()
String
Returns the exception message plus the stack trace as a concatenated string
Returns:
String:
The exception message plus the stack trace as a concatenated string
Properties
error
Error
Gets underlying Error
instance
innerException
Exception
Gets an inner exception (optional) which provides information about the sorrounding one
message
String
Gets the human-readable reason text for this exception
stackTrace
Array
Gets the exception's stack trace as an array where each index is a code line